<script setup>
import {RouterView } from 'vue-router'
import tarBar from './components/tabBar/index.vue'
</script>
<template>
    <div class="app">
        <div class="bottoms">
            <RouterView />
          <div v-if="!$route.meta.hideTabBar">
            <tarBar/>
          </div>
        </div>

    </div>
</template>
<style lang="scss" scoped>
*{
    margin: 0;
    padding: 0;
	background-color: rgb(245, 245, 245);
}
#app{
  width: 100%;
  height: 100vh;
  .app{
    width: 100%;
    height: 100vh;
  }
  .bottoms {
    overflow-y: auto;
    // height: calc(100vh - 50px);
    height: 100vh;
    background-color: rgb(245, 245, 245);
    /* 隐藏滚动条 */
    &::-webkit-scrollbar {
      display: none;
    }
  }
}
</style>
